import React, { Component } from 'react';
class ChildRef extends Component {
    state = {
        name:'zhangsan'
    }
    say(){
        const msg='213666'
        // console.log(msg);
        return msg
    } 
    render() { 
        return (<div>
            子组件
        </div>);
    }
}
 
export default ChildRef;